package com.woniuxy.rbac;

import org.springframework.context.annotation.Configuration;

/**
 * @Auther: 老谭（<a href="http://www.woniuxy.com">蜗牛学苑</a>）
 */
@Configuration
public class RbacConfguration {
//    @Bean
//    public FilterRegistrationBean<MemberFilter> wnCorsFilterRegistrationBean() {
//        FilterRegistrationBean<MemberFilter> filterRegistrationBean = new FilterRegistrationBean<>();
//        filterRegistrationBean.setFilter(new MemberFilter());
//        filterRegistrationBean.addUrlPatterns("/ucenter/*", "/order/add");
//        filterRegistrationBean.setOrder(1);
//        return filterRegistrationBean;
//    }
}
